package com.park.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.park.dao.SellerInformationMapper;
import com.park.model.BillingInformation;
import com.park.model.SellerInformation;
import com.park.service.SellerInformationService;

@Service
public class SellerInformationServiceImpl implements SellerInformationService {

	@Autowired
	private SellerInformationMapper sellerInformationMapper;
	@Override
	public SellerInformation getInfo(int parkId) {
		// TODO Auto-generated method stub
		return sellerInformationMapper.getInfo(parkId);
	}
	@Override
	public int insert(SellerInformation sellerInformation) {
		// TODO Auto-generated method stub
		return sellerInformationMapper.insert(sellerInformation);
	}
	@Override
	public int update(SellerInformation sellerInformation) {
		// TODO Auto-generated method stub
		return sellerInformationMapper.updateByPrimaryKeySelective(sellerInformation);
	}

}
